package com.gongchang;

public class Car {
    private void fadongji(){
        System.out.println("有一个发动机");
    }

    public void fangxiangpan(){
        System.out.println("有一个方向盘");
    }

    public Car() {
        fadongji();
        fangxiangpan();
    }

    @Override
    public String toString() {
        return "Car{}";
    }
}
